import axios from "axios"

const baseURL = 'http://192.168.2.96:8080/RelicsProtection/'
axios.defaults.baseURL = baseURL


//登录
export const checkUser = params => {
  return axios.get("user/login", params).then(res => res.data)
}

//事件记录
export const eventRecord = params => {
  return axios.get("warning/warningHistoryIdent", params).then(res => res.data)
}
